package com.cuotigou.mapper;


import com.cuotigou.pojo.MobileCode;

import java.util.Map;

/**
 * Created by yangweijian on 2018/1/15.
 */
public interface SMobileCodeMapper {
    //根据手机查验证码
    MobileCode selectCodeByMobile(String mobile);
    //添加短信记录
    void insertMobileCode(Map<String, Object> map);
    //短信发送次数
    Integer selectMobileCodeCount(Map<String, Object> map);
    //清空短信表
    void deleteMobileCode();
}
